package com.uchengwang.functions.http.config;

import com.uchengwang.functions.http.listener.IHttpManager;

/**
 * Created by U城网 on 2017/11/27.
 * 话题
 */

public class ThemeConfig {

    public interface Theme{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//获取某个大学的话题
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;//uni创建一个话题
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;//删除一个话题
        String URL = "/topic/banner";
    }

    public interface UniTheme{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;//获取某个Uni发布的话题
        String URL = "/topic/banner/uni";
    }

    public interface ThemeShare{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//查看一个话题的所有发布信息/某一条发布信息
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;//对一个话题发布一条信息
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;//用户删除一个Topic Share
        String URL = "/topic/share";
    }

    public interface ThemeShareCmt{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//获取某个话题 某条信息的评论
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;//发布一个评论
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;//删除一个评论
        String URL = "/topic/share/cmt";
    }

    public interface ThemeCmtReply{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;//查看一个话题发布信息 某条评论的回复信息
        String URL = "/topic/share/cmt/reply";
    }

    public interface ThemeLike{
        IHttpManager.RequestMethod method_get = IHttpManager.RequestMethod.GET;//获取某个话题发布信息的点赞
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;//点赞
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;//取消点赞
        String URL = "/topic/share/like";
    }

    public interface ThemeCmtRelpy{
        IHttpManager.RequestMethod method_post = IHttpManager.RequestMethod.POST;//对某个评论回复
        IHttpManager.RequestMethod method_delete = IHttpManager.RequestMethod.DELETE;//删除一个回复
        String URL= "/topic/share/reply";
    }

    public interface ThemeUniShare{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.PUT;//uni删除一个TopicShare
        String URL = "/topic/uni/delete/share";
    }

    public interface ThemeNotice{
        IHttpManager.RequestMethod method = IHttpManager.RequestMethod.GET;
        String URL = "/topic/notice";//查看一个话题的通知(未读消息)
    }


}
